import axio from "../assets/axio.js";

export const view_login = {
    template: `
     <div id="view_login">
               
        
        <p>需要登录</p>
        <div class="input-box">
          <label for="aut">密码</label>
          <input id="aut" type="password" v-model="input_password">
          <button @click="handleAuthen">确认</button>
        </div>

 
      </div>    `,
    name: "view_login",
    data() {
        return {
            input_password:""
        }
    },
    methods: {
        handleAuthen() {
            axio.get('/chat/clearText')
                .then((response) => {
                    this.queryText()
                })
        }
    },


};

